package com.easygo;

import com.spring4all.swagger.EnableSwagger2Doc;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author 徐策
 * @date 2020/1/4 11:58
 */
@SpringBootApplication
@EnableSwagger2Doc
@EnableFeignClients // 开启Feign功能
@EnableEurekaClient // 开启Eureka客户端
public class UserWebApp {

    public static void main(String[] args) {
        SpringApplication.run(UserWebApp.class,args);
    }
}